#include <Ogre.h> /// Librería necesaria para Ogre
#include "input.h"
#include "spaceship.h"

class DarkExtermination :
	public Ogre::WindowEventListener
{
private:

	Root *root; /// Objeto principal de Ogre
	RenderWindow *window; /// ventana del juego
	SceneManager *sceneMgr; /// Escena que mostramos al renderizar
	SceneNode *spaceshipNode;
	InputHandler *inputHandler;
	
	MySpaceship *mySpaceship;
	bool continue_or_not;
public:
	DarkExtermination();
	~DarkExtermination();
	
	void initialize();
	void setupScene();
	int run();
	void gameLogic();
	
	// WindowEventListener
	void windowResized(RenderWindow* rw);
	void windowClosed(RenderWindow* rw);
};
